package cn.scau.server.utils;


import cn.scau.server.vo.EmpPermissionVO;

public class MobileUserHolder {
    private static final ThreadLocal<EmpPermissionVO> tl = new ThreadLocal<>();

    public static void saveEmpPermission(EmpPermissionVO empPermission) {
        tl.set(empPermission);
    }

    public static EmpPermissionVO getEmpPermission() {
        return tl.get();
    }

    public static void removeEmpPermission() {
        tl.remove();
    }
}
